610 - Street directions (Grafos, DFS) && 10986 - Sending email (Grafos, Algoritmo...
[and.git] / 272 - TeX Quotes / 272.c
blobd055cef97e74559ecdaa6761d969d846a860ff31
1 #include <stdio.h>
3 int main(){
4 char c;
5 short b = 1;
6 while ((c = getchar()) != EOF){
7 if (c == '"'){
8 printf(b?"``":"''");
9 b = !b;
10 }else
11 putchar(c);
13 return 0;